Include string.h in the hypercall header file to ensure that memcpy() is defined.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 1 May 2006 16:02:43 +0000 (17:02 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 1 May 2006 16:02:43 +0000 (17:02 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h
linux-2.6-xen-sparse/include/asm-ia64/hypercall.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h

index a5ffa3a53b55e648eca5ebf93ac97b8687a0ebff..f2b8bc634219ef88d8bd7fa9bce808784acbcc5f 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef __HYPERCALL_H__
 #define __HYPERCALL_H__
 
+#include <linux/string.h> /* memcpy() */
+
 #ifndef __HYPERVISOR_H__
 # error "please don't include this file directly"
 #endif
index 432026eea4ea06b6e490b10c3b25e70457c1401c..524559d3f9705f6af8ab039ab053209ec529db3c 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef __HYPERCALL_H__
 #define __HYPERCALL_H__
 
+#include <linux/string.h> /* memcpy() */
+
 #ifndef __HYPERVISOR_H__
 # error "please don't include this file directly"
 #endif
index be9933975edb856b124fab503a68e16783ce5490..7364dce57e5d82a11a000d04f02ad477fd7de30b 100644 (file)
@@ -37,6 +37,8 @@
 #ifndef __HYPERCALL_H__
 #define __HYPERCALL_H__
 
+#include <linux/string.h> /* memcpy() */
+
 #ifndef __HYPERVISOR_H__
 # error "please don't include this file directly"
 #endif